package design.patterns.factory;

import org.junit.Test;

/**
 * @author daxue0929
 * @date 2023/4/11
 *
 */

public class Main {

    @Test
    public void main() {
        CoffeeStore store = new CoffeeStore();
        Coffee coffee = store.orderCoffee("latte");
        System.out.println(coffee.getName());
    }
}
